fn main() {
    i16 s1 = 100
    i8 s2 = -100
    i32 s3 = 24

    var a = s1 | 22 as i16 // 118
    var b = s2 as i16 & s1 // 4
    var c = s3 << 5 // 768
    var d = s3 >> 1 as i32 //12
    var e = 2 ^ 18 //16
    var f = ~s3 // -25
    var g = ~-100 // 99

    print(a, b, c, d, e, f, g, '\n') // 11847681216-2599
}